package org.dromara.demo.domain.vo;

import org.dromara.common.translation.annotation.Translation;
import org.dromara.common.translation.constant.TransConstant;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.demo.domain.JsSuite;

import java.io.Serial;
import java.io.Serializable;



/**
 * 用例执行视图对象 js_execute
 *
 * @author zhu
 * @date 2024-12-31
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = JsSuite.class)
public class JsSuiteVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long id;

    /**
     * 用例id
     */
    private String exampleId;

    /**
     * 用例名称
     */
    @Translation(type = TransConstant.EXAMPLE_id_TO_NAME, mapper = "exampleId")
    private String exampleName;

    /**
     * 用例路径
     */
    @Translation(type = TransConstant.EXAMPLE_ID_TO_PATH, mapper = "exampleId")
    private String examplePath;

    /**
     * 状态0未完成，1已完成
     */
    @ExcelProperty(value = "状态0未完成，1已完成")
    private String status;

    /**
     * 套件名称
     */
    private String name;

}
